package com.lgj.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lgj.mall.common.utils.PageUtils;
import com.lgj.mall.product.entity.AttrEntity;
import com.lgj.mall.product.vo.AttrGroupRelationVO;
import com.lgj.mall.product.vo.AttrRespVo;
import com.lgj.mall.product.vo.productVO.AttrVO;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author lgj
 * @email 3233744083@qq.com
 * @date 2025-07-05 15:58:48
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<AttrEntity> getRelationAtrr(Long attrgroupId);

    void deleteRelationAtrr(AttrGroupRelationVO[] vos);


    PageUtils getNoRelationAttr(Map<String, Object> params, Long attrgroupId);
    void saveAttr(AttrVO vo);

    AttrRespVo getAttrInfo(Long attrId);

    PageUtils queryBaseAttrPage(Map<String, Object> params, Long catelogId, String type);

    void updateAttr(AttrVO attr);
}

